package com.example.demo.controller;

import com.example.demo.entity.ReserveRecords;
import com.example.demo.service.ReserveRecordsService;
import com.example.demo.util.Result;
import org.springframework.web.bind.annotation.*;

import javax.annotation.Resource;

/**
 * (ReserveRecords)表控制层
 *
 * @author makejava
 * @since 2025-04-22 15:01:02
 */
@RestController
@RequestMapping("/reserveRecords")
public class ReserveRecordsController {
    /**
     * 服务对象
     */
    @Resource
    private ReserveRecordsService service;

    @RequestMapping(value = "/queryAll", method = RequestMethod.GET)
    public Result queryAll(ReserveRecords reserveRecords){
        return service.queryAll(reserveRecords);
    }
}

